package com.atguigu.gulimall.basic.gofastdfs.service;

import cn.hutool.core.text.StrPool;
import com.atguigu.gulimall.basic.gofastdfs.config.GoFastDfsProperties;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 *
 * </p>
 *
 * @author : yhd
 * @program: gulimall
 * @since : 2023-04-27 20:16
 */
public class HelloService {

    @Autowired
    private GoFastDfsProperties goFastDfsProperties;



    public String sayHello() {
        return "你好！我是go-FastDfs,来自："+goFastDfsProperties.getIp()+ StrPool.COLON +goFastDfsProperties.getPort();
    }
}
